<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a="http://topnet.it/facelets"
	xmlns:fn="http://topnet.it/functions"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a4j="http://richfaces.org/a4j">

<ui:composition template="/WEB-INF/layout/t_single.xhtml">
	<ui:define name="title">Scheda Scooter</ui:define>
	<ui:define name="content">
		<h2>Scheda Scooter</h2>
		<h:form id="form">
			<rich:panel id="prenotazioneScooter">
				<h:panelGrid columns="2" id="editContent">

					<a:fieldView id="nome" label="Nome:" fieldName="nome"
						entity="#{scootersController.scooter}" />

					<a:fieldView id="Marca" label="Marca:" fieldName="marca"
						entity="#{scootersController.scooter}" />

					<a:fieldView id="modello" label="Modello:" fieldName="modello"
						entity="#{scootersController.scooter}" />

					<a:fieldView id="cilindrata" label="Cilindrata:"
						fieldName="cilindrata" entity="#{scootersController.scooter}" />

					<a:fieldView id="caparra" label="Caparra:" fieldName="caparra"
						entity="#{scootersController.scooter}" />

					<a:fieldView id="targa" label="Targa:" fieldName="targa"
						entity="#{scootersController.scooter}" />

					<a:fieldView id="scadenzaAss" label="Scadenza Assicurazione:"
						fieldName="scadenzaAssicurazione"
						entity="#{scootersController.scooter}" />

					<a:fieldView id="kmFatti" label="km Fatti:" fieldName="kmFatti"
						entity="#{scootersController.scooter}" />
				</h:panelGrid>
			</rich:panel>
		</h:form>
	</ui:define>
</ui:composition>
</html>
